#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    double funcion (double c);    //Function that returns the drag function of a parachute
    double funcion2 (double c);   // Function that returns the derived drag function of a parachute

private:
    Ui::MainWindow *ui;
public slots:
    void metodo();   //Slot that performs the fixed point method
    void borrar();  //Slot that erases the contents of the spinbox and text
};

#endif // MAINWINDOW_H
